package com.fcai.microserv.jwt;

public class JwtConst {

    public static final String JWT_SUBJECT_ID = "subjectId";

    public static final String JWT_SUBJECT_TYPE = "subjectType";

    /** jwt token在http请求头中默认名字 */
    public static final String DEFAULT_HTTP_HEADER = "Authorization";

    /** 当前用户Id 在http attribute中的key */
    public static final String CURRENT_USER_ID_HTTP_ATTR = "_CURRENT_USER_ID_";

    /** 当前用户类型 在http attribute中的key */
    public static final String CURRENT_USER_TYPE_HTTP_ATTR = "_CURRENT_USER_TYPE_";
}
